Hi Marlon,
Yes you could try it that way. The voltage divider of 10K and 2K means that the input will see 10/12 of 5V which is 4.16V. KFLOP inputs are 3.3V inputs so you could probably even go smaller on the 10K. However the recommendation is to have the 2K placed near the encoder and connected to the +5V near the encoder. Your diagram shows it near KFLOP. Transmission line theory isn't one of my strong points so I'm not sure how much that really matters. I do know the 10K (or smaller) near KFLOP is important. If you have an active driver from an encoder and like 20ft of wire going into a KFLOP input (which has very high input impedance - meg ohms), if you look at the signal at the KFLOP end there will be terrible ringing. Adding a termination resistor to dampen the ringing will help tremendously. Neither way will cause any
damage. One way just may work better with regard to less ringing and possible mis counts of the encoder.
Regards
TK
Group: DynoMotion |
Message: 3722 |
From: Marlon |
Date: 2/5/2012 |
Subject: Re: How do I connect pull up resistors when connecting linear encode |
HI Tom,
I finished the glass scale encoder wiring yesterday, and I would like to report that the voltage divider on the A and B signal lines works like a charm! Now, with the encoders working fine, my next challange will be figuring out how this KFLOP PID controller thing works. Thanks for your help. Marlon
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Marlon,
> Â
> Yes you could try it that way. The voltage divider of 10K and 2K means that the input will see 10/12 of 5V which is 4.16V. KFLOP inputs are 3.3V inputs so you could probably even go smaller on the 10K. However the recommendation is to have the 2K placed near the encoder and connected to the +5V near the encoder. Your diagram shows it near KFLOP. Transmission line theory isn't one of my strong points so I'm not sure how much that really matters. I do know the 10K (or smaller) near KFLOP is important. If you have an active driver from an encoder and like 20ft of wire going into a KFLOP input (which has very high input impedance - meg ohms), if you look at the signal at the KFLOP end there will be terrible ringing. Adding a termination resistor to dampen the ringing will help tremendously. Neither way will cause any damage. One way just may work better with regard to less ringing and possible mis counts of the encoder.
> Â
> Regards
> TK
>
>
> ________________________________
> From: Marlon <roller218@...>
> To: DynoMotion@yahoogroups.com
> Sent: Wednesday, February 1, 2012 1:48 PM
> Subject: [DynoMotion] How do I connect pull up resistors when connecting linear encoders to KFLOP?
>
>
> Â
> Hello Tom,
> This weekend I will attempt to connect my linear encoder to KFLOP. I need your help, as I am not 100% sure on how to connect the pull-up and pull-down resistors. The manufacturer recommends 2K ohm pull-up resistor on the A and B signal lines.
>
> The part that gets me confused is that they also recommend a 10k to 33k ohm pull-down resistors on the A and B signals.
>
> So, does this mean the A and B signals get 'sandwiched' in between the voltage divide created by the 2k and 10k resistors?
>
> I have uploaded two pictures into the folder called 'Linear Encoders', 1) the manufacturer's recommendation, and
> 2) my interpretation on how I should wire it up to KFLOP.
>
> I would appreciate your help in understanding this. Thanks, Marlon
>
|
|
| |